package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * 碎片
 */
@Entity
@Setter
@Getter
@ToString
public class FootChip extends BaseEntity implements Serializable {
	@Column(name = "user_id")
	private Long userId;
	@Transient
	private String userName;
	@Column(name = "have_while")
	private Long haveWhile;
	@Column(name = "have_green")
	private Long haveGreen;
	@Column(name = "have_blue")
	private Long haveBlue;
	@Column(name = "have_purple")
	private Long havePurple;
	@Column(name = "have_orange")
	private Long haveOrange;
	@Transient
	private String context;

}